//
//  TestRideTableCell.h
//  Cycling
//
//  Created by 迟国强 on 2023/3/28.
//

#import <UIKit/UIKit.h>
#import "UerCenterModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^refuseRideBlock)(BOOL isRefuse);
typedef void(^acceptRideBlock)(NSString *str);
@interface TestRideTableCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIButton *cancleBtn;
@property (weak, nonatomic) IBOutlet UIButton *acceptBtn;
@property (weak, nonatomic) IBOutlet UILabel *sexL;
@property (weak, nonatomic) IBOutlet UILabel *addressL;
@property (weak, nonatomic) IBOutlet UILabel *mobileL;
@property (weak, nonatomic) IBOutlet UIImageView *userIconV;
@property (weak, nonatomic) IBOutlet UILabel *userNameL;
@property (weak, nonatomic) IBOutlet UILabel *dateL;
@property (weak, nonatomic) IBOutlet UILabel *addressDLB;
@property (nonatomic, strong) refuseRideBlock refuseBlock;
@property (nonatomic, strong) acceptRideBlock acceptBlock;

@property (nonatomic, strong) Tryride *model;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *canWidth;

@end

NS_ASSUME_NONNULL_END
